package cn.getech.data.development.entity.flink;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FlinkTaskNodeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FlinkTaskNodeExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNull() {
            addCriterion("task_id is null");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNotNull() {
            addCriterion("task_id is not null");
            return (Criteria) this;
        }

        public Criteria andTaskIdEqualTo(Integer value) {
            addCriterion("task_id =", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotEqualTo(Integer value) {
            addCriterion("task_id <>", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThan(Integer value) {
            addCriterion("task_id >", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_id >=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThan(Integer value) {
            addCriterion("task_id <", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThanOrEqualTo(Integer value) {
            addCriterion("task_id <=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdIn(List<Integer> values) {
            addCriterion("task_id in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotIn(List<Integer> values) {
            addCriterion("task_id not in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdBetween(Integer value1, Integer value2) {
            addCriterion("task_id between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotBetween(Integer value1, Integer value2) {
            addCriterion("task_id not between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andNodeNameIsNull() {
            addCriterion("node_name is null");
            return (Criteria) this;
        }

        public Criteria andNodeNameIsNotNull() {
            addCriterion("node_name is not null");
            return (Criteria) this;
        }

        public Criteria andNodeNameEqualTo(String value) {
            addCriterion("node_name =", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameNotEqualTo(String value) {
            addCriterion("node_name <>", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameGreaterThan(String value) {
            addCriterion("node_name >", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameGreaterThanOrEqualTo(String value) {
            addCriterion("node_name >=", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameLessThan(String value) {
            addCriterion("node_name <", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameLessThanOrEqualTo(String value) {
            addCriterion("node_name <=", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameLike(String value) {
            addCriterion("node_name like", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameNotLike(String value) {
            addCriterion("node_name not like", value, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameIn(List<String> values) {
            addCriterion("node_name in", values, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameNotIn(List<String> values) {
            addCriterion("node_name not in", values, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameBetween(String value1, String value2) {
            addCriterion("node_name between", value1, value2, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeNameNotBetween(String value1, String value2) {
            addCriterion("node_name not between", value1, value2, "nodeName");
            return (Criteria) this;
        }

        public Criteria andNodeTypeIsNull() {
            addCriterion("node_type is null");
            return (Criteria) this;
        }

        public Criteria andNodeTypeIsNotNull() {
            addCriterion("node_type is not null");
            return (Criteria) this;
        }

        public Criteria andNodeTypeEqualTo(String value) {
            addCriterion("node_type =", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeNotEqualTo(String value) {
            addCriterion("node_type <>", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeGreaterThan(String value) {
            addCriterion("node_type >", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeGreaterThanOrEqualTo(String value) {
            addCriterion("node_type >=", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeLessThan(String value) {
            addCriterion("node_type <", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeLessThanOrEqualTo(String value) {
            addCriterion("node_type <=", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeLike(String value) {
            addCriterion("node_type like", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeNotLike(String value) {
            addCriterion("node_type not like", value, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeIn(List<String> values) {
            addCriterion("node_type in", values, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeNotIn(List<String> values) {
            addCriterion("node_type not in", values, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeBetween(String value1, String value2) {
            addCriterion("node_type between", value1, value2, "nodeType");
            return (Criteria) this;
        }

        public Criteria andNodeTypeNotBetween(String value1, String value2) {
            addCriterion("node_type not between", value1, value2, "nodeType");
            return (Criteria) this;
        }

        public Criteria andTableNameIsNull() {
            addCriterion("`table_name` is null");
            return (Criteria) this;
        }

        public Criteria andTableNameIsNotNull() {
            addCriterion("`table_name` is not null");
            return (Criteria) this;
        }

        public Criteria andTableNameEqualTo(String value) {
            addCriterion("`table_name` =", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotEqualTo(String value) {
            addCriterion("`table_name` <>", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameGreaterThan(String value) {
            addCriterion("`table_name` >", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameGreaterThanOrEqualTo(String value) {
            addCriterion("`table_name` >=", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLessThan(String value) {
            addCriterion("`table_name` <", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLessThanOrEqualTo(String value) {
            addCriterion("`table_name` <=", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLike(String value) {
            addCriterion("`table_name` like", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotLike(String value) {
            addCriterion("`table_name` not like", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameIn(List<String> values) {
            addCriterion("`table_name` in", values, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotIn(List<String> values) {
            addCriterion("`table_name` not in", values, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameBetween(String value1, String value2) {
            addCriterion("`table_name` between", value1, value2, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotBetween(String value1, String value2) {
            addCriterion("`table_name` not between", value1, value2, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableAliasIsNull() {
            addCriterion("table_alias is null");
            return (Criteria) this;
        }

        public Criteria andTableAliasIsNotNull() {
            addCriterion("table_alias is not null");
            return (Criteria) this;
        }

        public Criteria andTableAliasEqualTo(String value) {
            addCriterion("table_alias =", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasNotEqualTo(String value) {
            addCriterion("table_alias <>", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasGreaterThan(String value) {
            addCriterion("table_alias >", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasGreaterThanOrEqualTo(String value) {
            addCriterion("table_alias >=", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasLessThan(String value) {
            addCriterion("table_alias <", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasLessThanOrEqualTo(String value) {
            addCriterion("table_alias <=", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasLike(String value) {
            addCriterion("table_alias like", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasNotLike(String value) {
            addCriterion("table_alias not like", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasIn(List<String> values) {
            addCriterion("table_alias in", values, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasNotIn(List<String> values) {
            addCriterion("table_alias not in", values, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasBetween(String value1, String value2) {
            addCriterion("table_alias between", value1, value2, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasNotBetween(String value1, String value2) {
            addCriterion("table_alias not between", value1, value2, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andNodeParamIsNull() {
            addCriterion("node_param is null");
            return (Criteria) this;
        }

        public Criteria andNodeParamIsNotNull() {
            addCriterion("node_param is not null");
            return (Criteria) this;
        }

        public Criteria andNodeParamEqualTo(String value) {
            addCriterion("node_param =", value, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andNodeParamNotEqualTo(String value) {
            addCriterion("node_param <>", value, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andNodeParamGreaterThan(String value) {
            addCriterion("node_param >", value, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andNodeParamGreaterThanOrEqualTo(String value) {
            addCriterion("node_param >=", value, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andNodeParamLessThan(String value) {
            addCriterion("node_param <", value, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andNodeParamLessThanOrEqualTo(String value) {
            addCriterion("node_param <=", value, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andNodeParamLike(String value) {
            addCriterion("node_param like", value, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andNodeParamNotLike(String value) {
            addCriterion("node_param not like", value, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andNodeParamIn(List<String> values) {
            addCriterion("node_param in", values, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andNodeParamNotIn(List<String> values) {
            addCriterion("node_param not in", values, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andNodeParamBetween(String value1, String value2) {
            addCriterion("node_param between", value1, value2, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andNodeParamNotBetween(String value1, String value2) {
            addCriterion("node_param not between", value1, value2, "nodeParam");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameIsNull() {
            addCriterion("target_table_name is null");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameIsNotNull() {
            addCriterion("target_table_name is not null");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameEqualTo(String value) {
            addCriterion("target_table_name =", value, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameNotEqualTo(String value) {
            addCriterion("target_table_name <>", value, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameGreaterThan(String value) {
            addCriterion("target_table_name >", value, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameGreaterThanOrEqualTo(String value) {
            addCriterion("target_table_name >=", value, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameLessThan(String value) {
            addCriterion("target_table_name <", value, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameLessThanOrEqualTo(String value) {
            addCriterion("target_table_name <=", value, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameLike(String value) {
            addCriterion("target_table_name like", value, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameNotLike(String value) {
            addCriterion("target_table_name not like", value, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameIn(List<String> values) {
            addCriterion("target_table_name in", values, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameNotIn(List<String> values) {
            addCriterion("target_table_name not in", values, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameBetween(String value1, String value2) {
            addCriterion("target_table_name between", value1, value2, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andTargetTableNameNotBetween(String value1, String value2) {
            addCriterion("target_table_name not between", value1, value2, "targetTableName");
            return (Criteria) this;
        }

        public Criteria andExpressionIsNull() {
            addCriterion("expression is null");
            return (Criteria) this;
        }

        public Criteria andExpressionIsNotNull() {
            addCriterion("expression is not null");
            return (Criteria) this;
        }

        public Criteria andExpressionEqualTo(String value) {
            addCriterion("expression =", value, "expression");
            return (Criteria) this;
        }

        public Criteria andExpressionNotEqualTo(String value) {
            addCriterion("expression <>", value, "expression");
            return (Criteria) this;
        }

        public Criteria andExpressionGreaterThan(String value) {
            addCriterion("expression >", value, "expression");
            return (Criteria) this;
        }

        public Criteria andExpressionGreaterThanOrEqualTo(String value) {
            addCriterion("expression >=", value, "expression");
            return (Criteria) this;
        }

        public Criteria andExpressionLessThan(String value) {
            addCriterion("expression <", value, "expression");
            return (Criteria) this;
        }

        public Criteria andExpressionLessThanOrEqualTo(String value) {
            addCriterion("expression <=", value, "expression");
            return (Criteria) this;
        }

        public Criteria andExpressionLike(String value) {
            addCriterion("expression like", value, "expression");
            return (Criteria) this;
        }

        public Criteria andExpressionNotLike(String value) {
            addCriterion("expression not like", value, "expression");
            return (Criteria) this;
        }

        public Criteria andExpressionIn(List<String> values) {
            addCriterion("expression in", values, "expression");
            return (Criteria) this;
        }

        public Criteria andExpressionNotIn(List<String> values) {
            addCriterion("expression not in", values, "expression");
            return (Criteria) this;
        }

        public Criteria andExpressionBetween(String value1, String value2) {
            addCriterion("expression between", value1, value2, "expression");
            return (Criteria) this;
        }

        public Criteria andExpressionNotBetween(String value1, String value2) {
            addCriterion("expression not between", value1, value2, "expression");
            return (Criteria) this;
        }

        public Criteria andParttionByIsNull() {
            addCriterion("parttion_by is null");
            return (Criteria) this;
        }

        public Criteria andParttionByIsNotNull() {
            addCriterion("parttion_by is not null");
            return (Criteria) this;
        }

        public Criteria andParttionByEqualTo(String value) {
            addCriterion("parttion_by =", value, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andParttionByNotEqualTo(String value) {
            addCriterion("parttion_by <>", value, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andParttionByGreaterThan(String value) {
            addCriterion("parttion_by >", value, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andParttionByGreaterThanOrEqualTo(String value) {
            addCriterion("parttion_by >=", value, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andParttionByLessThan(String value) {
            addCriterion("parttion_by <", value, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andParttionByLessThanOrEqualTo(String value) {
            addCriterion("parttion_by <=", value, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andParttionByLike(String value) {
            addCriterion("parttion_by like", value, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andParttionByNotLike(String value) {
            addCriterion("parttion_by not like", value, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andParttionByIn(List<String> values) {
            addCriterion("parttion_by in", values, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andParttionByNotIn(List<String> values) {
            addCriterion("parttion_by not in", values, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andParttionByBetween(String value1, String value2) {
            addCriterion("parttion_by between", value1, value2, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andParttionByNotBetween(String value1, String value2) {
            addCriterion("parttion_by not between", value1, value2, "parttionBy");
            return (Criteria) this;
        }

        public Criteria andOrderByIsNull() {
            addCriterion("order_by is null");
            return (Criteria) this;
        }

        public Criteria andOrderByIsNotNull() {
            addCriterion("order_by is not null");
            return (Criteria) this;
        }

        public Criteria andOrderByEqualTo(String value) {
            addCriterion("order_by =", value, "orderBy");
            return (Criteria) this;
        }

        public Criteria andOrderByNotEqualTo(String value) {
            addCriterion("order_by <>", value, "orderBy");
            return (Criteria) this;
        }

        public Criteria andOrderByGreaterThan(String value) {
            addCriterion("order_by >", value, "orderBy");
            return (Criteria) this;
        }

        public Criteria andOrderByGreaterThanOrEqualTo(String value) {
            addCriterion("order_by >=", value, "orderBy");
            return (Criteria) this;
        }

        public Criteria andOrderByLessThan(String value) {
            addCriterion("order_by <", value, "orderBy");
            return (Criteria) this;
        }

        public Criteria andOrderByLessThanOrEqualTo(String value) {
            addCriterion("order_by <=", value, "orderBy");
            return (Criteria) this;
        }

        public Criteria andOrderByLike(String value) {
            addCriterion("order_by like", value, "orderBy");
            return (Criteria) this;
        }

        public Criteria andOrderByNotLike(String value) {
            addCriterion("order_by not like", value, "orderBy");
            return (Criteria) this;
        }

        public Criteria andOrderByIn(List<String> values) {
            addCriterion("order_by in", values, "orderBy");
            return (Criteria) this;
        }

        public Criteria andOrderByNotIn(List<String> values) {
            addCriterion("order_by not in", values, "orderBy");
            return (Criteria) this;
        }

        public Criteria andOrderByBetween(String value1, String value2) {
            addCriterion("order_by between", value1, value2, "orderBy");
            return (Criteria) this;
        }

        public Criteria andOrderByNotBetween(String value1, String value2) {
            addCriterion("order_by not between", value1, value2, "orderBy");
            return (Criteria) this;
        }

        public Criteria andGroupByIsNull() {
            addCriterion("group_by is null");
            return (Criteria) this;
        }

        public Criteria andGroupByIsNotNull() {
            addCriterion("group_by is not null");
            return (Criteria) this;
        }

        public Criteria andGroupByEqualTo(String value) {
            addCriterion("group_by =", value, "groupBy");
            return (Criteria) this;
        }

        public Criteria andGroupByNotEqualTo(String value) {
            addCriterion("group_by <>", value, "groupBy");
            return (Criteria) this;
        }

        public Criteria andGroupByGreaterThan(String value) {
            addCriterion("group_by >", value, "groupBy");
            return (Criteria) this;
        }

        public Criteria andGroupByGreaterThanOrEqualTo(String value) {
            addCriterion("group_by >=", value, "groupBy");
            return (Criteria) this;
        }

        public Criteria andGroupByLessThan(String value) {
            addCriterion("group_by <", value, "groupBy");
            return (Criteria) this;
        }

        public Criteria andGroupByLessThanOrEqualTo(String value) {
            addCriterion("group_by <=", value, "groupBy");
            return (Criteria) this;
        }

        public Criteria andGroupByLike(String value) {
            addCriterion("group_by like", value, "groupBy");
            return (Criteria) this;
        }

        public Criteria andGroupByNotLike(String value) {
            addCriterion("group_by not like", value, "groupBy");
            return (Criteria) this;
        }

        public Criteria andGroupByIn(List<String> values) {
            addCriterion("group_by in", values, "groupBy");
            return (Criteria) this;
        }

        public Criteria andGroupByNotIn(List<String> values) {
            addCriterion("group_by not in", values, "groupBy");
            return (Criteria) this;
        }

        public Criteria andGroupByBetween(String value1, String value2) {
            addCriterion("group_by between", value1, value2, "groupBy");
            return (Criteria) this;
        }

        public Criteria andGroupByNotBetween(String value1, String value2) {
            addCriterion("group_by not between", value1, value2, "groupBy");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagIsNull() {
            addCriterion("windows_flag is null");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagIsNotNull() {
            addCriterion("windows_flag is not null");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagEqualTo(Integer value) {
            addCriterion("windows_flag =", value, "windowsFlag");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagNotEqualTo(Integer value) {
            addCriterion("windows_flag <>", value, "windowsFlag");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagGreaterThan(Integer value) {
            addCriterion("windows_flag >", value, "windowsFlag");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("windows_flag >=", value, "windowsFlag");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagLessThan(Integer value) {
            addCriterion("windows_flag <", value, "windowsFlag");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagLessThanOrEqualTo(Integer value) {
            addCriterion("windows_flag <=", value, "windowsFlag");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagIn(List<Integer> values) {
            addCriterion("windows_flag in", values, "windowsFlag");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagNotIn(List<Integer> values) {
            addCriterion("windows_flag not in", values, "windowsFlag");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagBetween(Integer value1, Integer value2) {
            addCriterion("windows_flag between", value1, value2, "windowsFlag");
            return (Criteria) this;
        }

        public Criteria andWindowsFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("windows_flag not between", value1, value2, "windowsFlag");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameIsNull() {
            addCriterion("windows_field_name is null");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameIsNotNull() {
            addCriterion("windows_field_name is not null");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameEqualTo(String value) {
            addCriterion("windows_field_name =", value, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameNotEqualTo(String value) {
            addCriterion("windows_field_name <>", value, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameGreaterThan(String value) {
            addCriterion("windows_field_name >", value, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameGreaterThanOrEqualTo(String value) {
            addCriterion("windows_field_name >=", value, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameLessThan(String value) {
            addCriterion("windows_field_name <", value, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameLessThanOrEqualTo(String value) {
            addCriterion("windows_field_name <=", value, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameLike(String value) {
            addCriterion("windows_field_name like", value, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameNotLike(String value) {
            addCriterion("windows_field_name not like", value, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameIn(List<String> values) {
            addCriterion("windows_field_name in", values, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameNotIn(List<String> values) {
            addCriterion("windows_field_name not in", values, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameBetween(String value1, String value2) {
            addCriterion("windows_field_name between", value1, value2, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsFieldNameNotBetween(String value1, String value2) {
            addCriterion("windows_field_name not between", value1, value2, "windowsFieldName");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalIsNull() {
            addCriterion("windows_interval is null");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalIsNotNull() {
            addCriterion("windows_interval is not null");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalEqualTo(String value) {
            addCriterion("windows_interval =", value, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalNotEqualTo(String value) {
            addCriterion("windows_interval <>", value, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalGreaterThan(String value) {
            addCriterion("windows_interval >", value, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalGreaterThanOrEqualTo(String value) {
            addCriterion("windows_interval >=", value, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalLessThan(String value) {
            addCriterion("windows_interval <", value, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalLessThanOrEqualTo(String value) {
            addCriterion("windows_interval <=", value, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalLike(String value) {
            addCriterion("windows_interval like", value, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalNotLike(String value) {
            addCriterion("windows_interval not like", value, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalIn(List<String> values) {
            addCriterion("windows_interval in", values, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalNotIn(List<String> values) {
            addCriterion("windows_interval not in", values, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalBetween(String value1, String value2) {
            addCriterion("windows_interval between", value1, value2, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andWindowsIntervalNotBetween(String value1, String value2) {
            addCriterion("windows_interval not between", value1, value2, "windowsInterval");
            return (Criteria) this;
        }

        public Criteria andCreatePerIsNull() {
            addCriterion("create_per is null");
            return (Criteria) this;
        }

        public Criteria andCreatePerIsNotNull() {
            addCriterion("create_per is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePerEqualTo(Long value) {
            addCriterion("create_per =", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerNotEqualTo(Long value) {
            addCriterion("create_per <>", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerGreaterThan(Long value) {
            addCriterion("create_per >", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerGreaterThanOrEqualTo(Long value) {
            addCriterion("create_per >=", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerLessThan(Long value) {
            addCriterion("create_per <", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerLessThanOrEqualTo(Long value) {
            addCriterion("create_per <=", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerIn(List<Long> values) {
            addCriterion("create_per in", values, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerNotIn(List<Long> values) {
            addCriterion("create_per not in", values, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerBetween(Long value1, Long value2) {
            addCriterion("create_per between", value1, value2, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerNotBetween(Long value1, Long value2) {
            addCriterion("create_per not between", value1, value2, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdatePerIsNull() {
            addCriterion("update_per is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePerIsNotNull() {
            addCriterion("update_per is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePerEqualTo(Long value) {
            addCriterion("update_per =", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerNotEqualTo(Long value) {
            addCriterion("update_per <>", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerGreaterThan(Long value) {
            addCriterion("update_per >", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerGreaterThanOrEqualTo(Long value) {
            addCriterion("update_per >=", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerLessThan(Long value) {
            addCriterion("update_per <", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerLessThanOrEqualTo(Long value) {
            addCriterion("update_per <=", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerIn(List<Long> values) {
            addCriterion("update_per in", values, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerNotIn(List<Long> values) {
            addCriterion("update_per not in", values, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerBetween(Long value1, Long value2) {
            addCriterion("update_per between", value1, value2, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerNotBetween(Long value1, Long value2) {
            addCriterion("update_per not between", value1, value2, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(Integer value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(Integer value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(Integer value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(Integer value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(Integer value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<Integer> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<Integer> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}